package com.btsk.service.impl;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.btsk.dao.SendMessageDao;
import com.btsk.dao.VehicleInfoDao;
import com.btsk.model.SendMessage;
import com.btsk.service.SendMessageManager;

public class SendMessageManagerImpl extends
		GenericManagerImpl<SendMessage, Long> implements SendMessageManager {
	
	private SendMessageDao sendMessageDao;

	public SendMessageDao getSendMessageDao() {
		return sendMessageDao;
	}

	public void setSendMessageDao(SendMessageDao sendMessageDao) {
		this.dao = sendMessageDao;
		this.sendMessageDao = sendMessageDao;
	}

	@Override
	public List<SendMessage> findAll() {
		// TODO Auto-generated method stub
		return this.sendMessageDao.findAll();
	}

	@Override
	public List<SendMessage> findAllSendingMessage() {
		// TODO Auto-generated method stub
		return this.sendMessageDao.findAllSendingMessage();
	}

}
